package com.whfc.fmam.map;

import com.whfc.fmam.entity.bo.FmamMat;
import com.whfc.fmam.entity.dto.FmamMatDTO;
import com.whfc.fmam.entity.dto.SyncFmamMatDTO;
import com.whfc.fmam.entity.qo.MatAddQO;
import com.whfc.fmam.entity.qo.MatEditQO;
import org.mapstruct.Mapper;

/**
 * @Description:
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/10/16 15:07
 */
@Mapper(componentModel = "spring")
public interface MatMap {

    SyncFmamMatDTO to(FmamMat mat);

    FmamMat to(MatAddQO matAddQO);

    FmamMat to(MatEditQO matEditQO);
}
